package com.williambucciero.mobilemuseum;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class StartServiceOnBootReceiver extends BroadcastReceiver {
	public static int count=0;
	private DebugReporter reporter;

	@Override
	public void onReceive(Context ctxt, Intent arg1) {
		reporter = new DebugReporter(ctxt);
		BackgroundAlarm ba = new BackgroundAlarm(ctxt);
		
		ba.fireOneTimeAlarm();
		reporter.writeToFile("SSONB: Firing one time alarm.");
		ba.fireRepeatingAlarm();
		reporter.writeToFile("SSONB: Firing repeating alarm.");
	}
}
